package com.cetcs.kmga.dataManager.global;

/**
 * Created by XingWen on 2016/3/29.
 */
public class DataManagerConstants {
    public static final String SSO_SECRET_KEY = "superAdmin";
    public static final String SSO_APP_KEY = "auth";
    public static final String DEFAULT_ACCT = "superAdmin";
    public static final String ADMIN_DEF_PWD = "superCETCAdmin";
    public static final String DEFAULT_ENCODING = "UTF-8";
    public static final int NO_AUTHORITY = 800;    //访问无权限错误码
    public static final int KICKOUT_CODE = 888; //多用户登录踢出系统错误提示码
    public static final int FORM_VALID_FAIL = 900; //Form表单输入验证失败错误码

    //http 请求头类型
    public static final String APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded";
    public static final String APPLICATION_JSON = "application/json";

    /**
     * 日志类型字段
     */
    public static final String DEVICE_LOG_TYPE = "probe100000";

    /**
     * H2 码表名称
     */
    public static final String INIT_CD_TYPE_TB = "sdp_sys_all_code_gather_cd";

    /**
     * 邮箱缓存名称
     */
    public static final String SYS_EMAIL_EHCACHE_NAME = "SYS_EMAIL_CONFIG_CACHE";

    /**
     * 日志缓存代码
     */
    public static final String LOG_QUERY_CACHE_CODE = "LOG_QUERY_CACHE";

    /**
     * 通用的H2数据库缓存数据表
     */
    public final static String CACHE_H2_TB_NAME = "SDATA_AUDIT_DB_LOG_CACHE";

    public static final String SYS_EMAIL_EHCACHE_ELEMENT_NAME = "SYS_EMAIL_EHCACHE_ELEMENT_NAME_V1.0";

    public static final String SYS_USER_LOG_QUERY_EHCACHE_ELEMENT_NAME = "SYS_USER_LOG_QUERY_EHCACHE_ELEMENT_NAME_V1.0";

    /**
     * 日志安全审计规则匹配成功
     */
    public static final String NOTIFY_AUDIT_EVENT_V1 = "notify_audit_event";


    /**
     * 客户端查询的记录时间
     */
    public static String CLIENT_SEARCH_TIME = "0000-00-00 00:00:00";


}
